AuthZenService
[Experimental] Search for actions a subject can perform on a resource
[Experimental] The ActionSearch API returns all actions (relations) that a subject can perform on a specific resource. This is useful for answering questions like “What can Anne do with this document?” or building dynamic UIs that show only the actions a user is permitted to perform.
Examples
Find all actions a user can perform on a document
{
"subject": {"type": "user", "id": "anne"},
"resource": {"type": "document", "id": "roadmap"}
}
Response:
{
"results": [
{"name": "can_read"},
{"name": "can_write"},
{"name": "can_share"}
],
"page": {"count": 3}
}
Search with ABAC context for time-based permissions
{
"subject": {"type": "user", "id": "bob"},
"resource": {"type": "report", "id": "quarterly-financials"},
"context": {
"current_time": "2024-01-15T14:30:00Z",
"user_department": "finance"
}
}
Paginated action search
{
"subject": {"type": "user", "id": "admin"},
"resource": {"type": "system", "id": "production"},
"page": {"limit": 50}
}
POST
curl
Path Parameters
Body
application/json
Last modified on September 28, 2026